Modular probabilistic models via algebraic effects
نویسندگان
چکیده
Probabilistic programming languages (PPLs) allow programmers to construct statistical models and then simulate data or perform inference over them. Many PPLs restrict a particular instance of simulation inference, limiting their reusability. In other PPLs, are not readily composable. Using Haskell as the host language, we present an embedded domain specific language based on algebraic effects, where probabilistic modular, first-class, reusable for both inference. We also demonstrate how can be expressed naturally composable program transformations using effect handlers.
منابع مشابه
Discriminative Learning via Semidefinite Probabilistic Models
Discriminative linear models are a popular tool in machine learning. These can be generally divided into two types: linear classifiers, such as support vector machines (SVMs), which are well studied and provide stateof-the-art results, and probabilistic models such as logistic regression. One shortcoming of SVMs is that their output (known as the ”margin”) is not calibrated, so that it is diffi...
متن کاملAlgebraic Topology and Modular Forms
The problem of describing the homotopy groups of spheres has been fundamental to algebraic topology for around 80 years. There were periods when specific computations were important and periods when the emphasis favored theory. Many mathematical invariants have expressions in terms of homotopy groups, and at different times the subject has found itself located in geometric topology, algebra, al...
متن کاملSIEGEL MODULAR FORMS ( MOD p ) AND ALGEBRAIC MODULAR FORMS
In his letter [Ser96], J.-P. Serre proves that the systems of Hecke eigenvalues given by modular forms (mod p) are the same as the ones given by locally constant functions A×B/B × → F̄p, where B is the endomorphism algebra of a supersingular elliptic curve. After giving a detailed exposition of Serre’s result, we prove that the systems of Hecke eigenvalues given by Siegel modular forms (mod p) o...
متن کاملParameter Estimation in Nonlinear Algebraic Models via Global Optimization
Abstract: The estimation of parameters in semi-empirical nonlinear models through the error-in-variables method has been widely studied from a computational standpoint. This method involves the minimization of a quadratic objective function subject to the model equations being satisfied. Due to the nonlinear nature of these models, the resulting formulation is nonconvex in nature. The approache...
متن کاملMulti-view Anomaly Detection via Probabilistic Latent Variable Models
We propose a nonparametric Bayesian probabilistic latent variable model for multi-view anomaly detection, which is the task of finding instances that have inconsistent views. With the proposed model, all views of a non-anomalous instance are assumed to be generated from a single latent vector. On the other hand, an anomalous instance is assumed to have multiple latent vectors, and its different...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2022
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3547635